<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:forEach var="auction"
	items='<%= request.getAttribute("veilingen") %>'>

	<div id="Auction${auction.auctionID}"
		style="height: 250px; width: 89%; float: left; border: solid; border-width: 1px; margin-top: 5px; margin-left: 5px;">
		<div id="${auction.auctionID}.Left"
			style="width: 20%; height: 100%; border: solid; border-width: 1px; float: left;">
			<img src="img/Nathalie.JPG" style="height: 85%" /> <br />
			<c:out value="${auction.endTime}" />
		</div>
		<div id="${auction.auctionID}.Central"
			style="width: 60%; height: 100%; border: solid; border-width: 1px; float: left;">
			<div id="Title"
				style="width: 100%; height: 20%; border: solid; border-width: 1px; text-align: center;">

				<h2>
					<c:out value="${auction.title}" />
				</h2>
			</div>
			<div id="${auction.auctionID}.Description"
				style="width: 100%; height: 79%; border: solid; border-width: 1px;">
				<c:out value="${auction.description}" />
				<a href="AuctionServlet?ID=${auction.auctionID}">Klik hier voor
					meer info</a>

			</div>
		</div>
		<div id="${auction.auctionID}.Right"
			style="width: 19.6%; height: 100%; border: solid; border-width: 1px; float: left;">
			<div id="${auction.auctionID}.price"
				style="width: 100%; height: 40%; border: solid; border-width: 1px;">
				<h3>
					&euro;
					<c:out value="${auction.price}" />
				</h3>
			</div>
			<div id="${auction.auctionID}.BidButton"
				style="width: 100%; height: 59%; border: solid; border-width: 1px;">
				<form action="BidServlet" method="post">
					<input type="text" name="price" value="" /> <input type="hidden"
						name="bidderID" value=<%= session.getAttribute("personID") %>>
					<input type="hidden" name="auctionID" value="${auction.auctionID}">
					<input type="submit" value="Bid.${auction.auctionID}" onClick="" />
				</form>
			</div>
		</div>
	</div>
</c:forEach>